import "@babel/polyfill";
import "./style/theme.less";
import "./style/style.less";
import React from "react";
import ReactDOM from "react-dom";
import { Root } from "./pages";
import rootSaga from "./sagas";
import configureStore from "./store";
import registerServiceWorker from "./registerServiceWorker";

const { store } = configureStore({});

store.runSaga(rootSaga);

ReactDOM.render(<Root store={store} />, document.getElementById("root"));
registerServiceWorker();
